export interface IMenu {
  id: string;
  label: string;
  icon: string;
  key: string;
  component?: string;
  children?: IMenu[];
}

const menus: IMenu[] = [
  {
    id: '0-0',
    label: '系统首页',
    icon: '',
    key: '/',
    component: ''
  },
  {
    id: '0-1',
    label: '轮播图管理',
    icon: '',
    key: '/banner',
    children: [
      {
        id: '0-1-0',
        label: '轮播图列表',
        icon: '',
        key: '/banner/list',
        component: ''
      },
      {
        id: '0-1-1',
        label: '添加轮播图',
        icon: '',
        key: '/banner/add',
        component: ''
      },
    ]
  },
  {
    id: '0-2',
    label: '产品管理',
    icon: '',
    key: '/pro',
    children: [
      {
        id: '0-2-0',
        label: '产品类标',
        icon: '',
        key: '/pro/list',
        component: ''
      },
      {
        id: '0-2-1',
        label: '秒杀列表',
        icon: '',
        key: '/pro/seckill',
        component: ''
      },
      {
        id: '0-2-2',
        label: '推荐列表',
        icon: '',
        key: '/pro/recommend',
        component: ''
      },
      {
        id: '0-2-3',
        label: '筛选列表',
        icon: '',
        key: '/pro/search',
        component: ''
      },
    ]
  }
]


export default menus